package game.components;

import game.scene.MatchScene;

import java.awt.Color;
import java.awt.Font;

import com.uqbar.vainilla.GameComponent;
import com.uqbar.vainilla.appearances.Label;

public class InformationLabel extends GameComponent<MatchScene> {

	private Label information = new Label(new Font("Book Antiqua", Font.PLAIN, 25), Color.RED, "");
	
	public InformationLabel(double x, double y) {
		super(x, y);
	}
	
	public void showInformation(String text) {
		this.getInformation().setText(text);
		this.setAppearance(this.getInformation());
	}

	
	
	
	
	public Label getInformation() {
		return information;
	}
	
}
